package com.distribute.core.notify.redis.redisson;

import com.distribute.core.notify.redis.DLCRedisCenter;
import org.redisson.api.RedissonClient;

/**
 * TODO
 *
 * @author chennengcheng
 * @date 2022-10-09 11:19
 * @remark
 */
public class RedissonCenter implements DLCRedisCenter<RedissonClient> {

    private ClassLoader classLoader;

    private RedissonClient redissonClient;

    @Override
    public void setBeanClassLoader(ClassLoader classLoader) {
        this.classLoader = classLoader;
    }

    @Override
    public RedissonClient getRedisClient() {
        return this.redissonClient;
    }

    public RedissonCenter(RedissonClient redissonClient) {
        this.redissonClient = redissonClient;
    }
}
